package com.sinochem.iot.rule.mapper;

import com.sinochem.iot.rule.model.Trigger;
import com.sinochem.iot.rule.model.TriggerExample;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TriggerMapper {
    /**
     *
     * @mbggenerated
     */
    int countByExample(TriggerExample example);

    /**
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated
     */
    int insert(Trigger record);

    /**
     *
     * @mbggenerated
     */
    int insertSelective(Trigger record);

    /**
     *
     * @mbggenerated
     */
    List<Trigger> selectByExample(TriggerExample example);

    /**
     *
     * @mbggenerated
     */
    Trigger selectByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(Trigger record);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(Trigger record);
}